From 3cf671b4fcd567c52aa88b08a5fd7b59cf7d669a Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 12 Jul 2020 23:38:13 +0100 Subject: Jenkins fixes --- CMake/AddDependencies.cmake | 2 +- CMake/Fixups.cmake | 2 +- CMake/GenerateBindings.cmake | 4 ++-- jenkinsbuild.sh | 7 ++++--- lib/lua | 2 +- lib/luaproxy | 2 +- lib/sqlite | 2 +- lib/tolua++ | 2 +- 8 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CMake/AddDependencies.cmake b/CMake/AddDependencies.cmake index 5173e4487..971a338cc 100644 --- a/CMake/AddDependencies.cmake +++ b/CMake/AddDependencies.cmake @@ -62,7 +62,7 @@ function(link_dependencies TARGET) fmt::fmt jsoncpp_lib lsqlite - lua + lualib luaexpat mbedtls SQLiteCpp diff --git a/CMake/Fixups.cmake b/CMake/Fixups.cmake index 374196d09..f8f616254 100644 --- a/CMake/Fixups.cmake +++ b/CMake/Fixups.cmake @@ -2,7 +2,7 @@ function(emit_fixups) # TODO these should be in the submodules # Under Windows, we need Lua as DLL; on *nix we need it linked statically: if (WIN32) - target_compile_definitions(lua PUBLIC LUA_BUILD_AS_DLL) + target_compile_definitions(lualib PUBLIC LUA_BUILD_AS_DLL) endif() # Let Lua use additional checks on its C API. This is only compiled into Debug builds: diff --git a/CMake/GenerateBindings.cmake b/CMake/GenerateBindings.cmake index 584ad1b66..d91d26a03 100644 --- a/CMake/GenerateBindings.cmake +++ b/CMake/GenerateBindings.cmake @@ -107,8 +107,8 @@ function(enable_bindings_generation) # Generate the bindings: add_custom_command( OUTPUT ${BINDING_OUTPUTS} - COMMAND luaexe BindingsProcessor.lua + COMMAND lua BindingsProcessor.lua WORKING_DIRECTORY ${BINDINGS_FOLDER} - DEPENDS ${BINDING_DEPENDENCIES} luaexe + DEPENDS ${BINDING_DEPENDENCIES} lua ) endfunction() diff --git a/jenkinsbuild.sh b/jenkinsbuild.sh index ab30c74be..56ce83802 100755 --- a/jenkinsbuild.sh +++ b/jenkinsbuild.sh @@ -82,6 +82,7 @@ popd sha1sum Cuberite.tar.gz > Cuberite.tar.gz.sha1 # Package ProtoProxy -pushd Tools/ProtoProxy -sha1sum ProtoProxy > ProtoProxy.sha1 -popd +# This tool is very out of date, uncomment when it's being worked on again +# pushd Tools/ProtoProxy +# sha1sum ProtoProxy > ProtoProxy.sha1 +# popd diff --git a/lib/lua b/lib/lua index e5942d9d8..6fb92772d 160000 --- a/lib/lua +++ b/lib/lua @@ -1 +1 @@ -Subproject commit e5942d9d88221dc02b824f5bda0db9876fa92bad +Subproject commit 6fb92772dc1343fd4e92a64e6a49940d188523c3 diff --git a/lib/luaproxy b/lib/luaproxy index 62ee088a3..9e4b11990 160000 --- a/lib/luaproxy +++ b/lib/luaproxy @@ -1 +1 @@ -Subproject commit 62ee088a33a4e5eeb69cb80cd261e6574c2cb71f +Subproject commit 9e4b11990b1e4e368f1cacb4cbf9d0e908da96b6 diff --git a/lib/sqlite b/lib/sqlite index 01cbf6d5a..0bd062f96 160000 --- a/lib/sqlite +++ b/lib/sqlite @@ -1 +1 @@ -Subproject commit 01cbf6d5a5ba91dd78d17604865dd3aebe1b5093 +Subproject commit 0bd062f9653f19ca9f59040f2fbb04fe9f753e0d diff --git a/lib/tolua++ b/lib/tolua++ index 23cd44840..4d24aa316 160000 --- a/lib/tolua++ +++ b/lib/tolua++ @@ -1 +1 @@ -Subproject commit 23cd44840dc9405f4f7df34a621a351062359b8d +Subproject commit 4d24aa316898964c23896fbb7419bdaa23638c26 -- cgit v1.2.3